Skip to content

Conversation

DariaMityagina
Copy link
Contributor

@DariaMityagina DariaMityagina commented Jan 29, 2024

Ticket:

103104

Description:

G-API Background Subtraction Demo, Classification Benchmark C++ G-API Demo, G-API Gaze Estimation Demo and other - fail on NPU with the following error: dynamic shape issues

get_shape was called on a descriptor::Tensor with dynamic shape
  • OpenVINO is actively removing API 1.0 from their code
  • Both G-API framework and G-API demos use API 1.0 --> which leads to disruption of certain functionality
    Conclusion: We need to port the G-API demos to API2.0 to make them work.

Affected demos:

  • background_subtraction_demo
    [ ERROR ] OpenCV(4.8.0-dev) ..\modules\gapi\src\backends\ov\govbackend.cpp:799: error: (-215:Assertion failed) cv::util::holds_alternativecv::GMatDesc(input_meta) in function 'cv::gimpl::ov::PrePostProcWrapper::cfgPreProcessing' - WIP

Also needs the following change to be merge to OpenCV repo:

with:
repository: opencv/opencv
path: cache/opencv
name: Clone and checkout OpenCV
Copy link
Contributor Author

@DariaMityagina DariaMityagina Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test this PR in OpenCV : opencv/opencv#24938.
Will be removed.

Copy link
Contributor Author

@DariaMityagina DariaMityagina Apr 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To also test this PR in OpenCV : opencv/opencv#25508.
Will be removed.

@DariaMityagina DariaMityagina force-pushed the icv/dm/background_subtraction_demo_to_OV20 branch 10 times, most recently from c4f5c76 to e036f72 Compare February 2, 2024 10:34
@DariaMityagina DariaMityagina marked this pull request as ready for review February 2, 2024 10:55
@DariaMityagina
Copy link
Contributor Author

This PR should be merged after this one opencv/opencv#24938.

@DariaMityagina DariaMityagina marked this pull request as draft February 19, 2024 17:20
@DariaMityagina DariaMityagina force-pushed the icv/dm/background_subtraction_demo_to_OV20 branch 6 times, most recently from 23c8a75 to 0049139 Compare April 29, 2024 12:37
@DariaMityagina DariaMityagina force-pushed the icv/dm/background_subtraction_demo_to_OV20 branch from 0049139 to ce033c9 Compare April 17, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to run background_subtraction_demo_gapi with Media Files Available for Demos
1 participant